/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.aeso.betabit.service.rmi;

import br.aeso.betabit.entity.Aposta;
import br.aeso.betabit.entity.Evento;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

/**
 *
 * @author Edson
 */
public interface ApostaService extends Remote {

    void atualizar(Aposta obj) throws RemoteException;

    Aposta consultar(Long codigo) throws RemoteException;

    void excluir(Aposta obj) throws RemoteException;

    void inserir(Aposta obj) throws RemoteException;
    
    List<Evento> getEventos() throws RemoteException;
}